package com.simplegui.examples.pong;

import static com.simplegui.examples.pong.PongConfigurations.FRAME_HEIGHT;
import static com.simplegui.examples.pong.PongConfigurations.FRAME_WIDTH;

import java.awt.Dimension;

import com.simplegui.api.Frame;
import com.simplegui.api.Resources;

public class PongMain {
	
	public static void main(String[] args) {
		Frame frame = Resources.getFrameFactory().createFrame("Pong", new Dimension(FRAME_WIDTH, FRAME_HEIGHT));
		
		Pong pong = new Pong();
		pong.configureFrame(frame);
		pong.actionNewGame();
		
		frame.start();
		
	}


}
